package singleton.test.singletoneager;

import javax.swing.*;

public class Caesar extends JPanel {
    private static Caesar instance = new Caesar();

    private Caesar() {
        JLabel l1 = new JLabel(new ImageIcon("code/src/singleton/test/singletoneager/caesar.jpg"));
        this.add(l1);
    }

    public static Caesar getInstance() {
        return instance;
    }
}
